package com.hmy.security;

import com.hmy.common.exception.EnableExceptionHandle;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication
@ComponentScans(
        value = {@ComponentScan(basePackages = {"com.hmy.security"})}
)
@MapperScan("com.hmy.security.mapper")
@EnableExceptionHandle
public class SecurityExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(SecurityExampleApplication.class, args);
    }

}
